package cn.wolfcode.repository;

import cn.wolfcode.domain.UserInfo;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserInfoRepository extends MongoRepository<UserInfo,String>{

    UserInfo findByPhone(String phone);



    List<UserInfo> queryByCity(String keyword);
}
